package com.qh.yyxt.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@AllArgsConstructor
@NoArgsConstructor
@Data
public class BorrowThing
{
    @TableId
    @JsonProperty("id")
    private Integer id;
    @JsonProperty("fid")
    private Integer fid;
    @JsonProperty("tid")
    private Integer tid;
    //对应的thingsize的id
    @JsonProperty("sid")
    private Integer sid;
    //应还数量
    @JsonProperty("num")
    private Integer num;
    //实际归还
    @JsonProperty("acnum")
    private Integer acnum;
    //损坏数量
    @JsonProperty("badnum")
    private Integer badnum;
    //状态\
    @JsonProperty("state")
    private String state;
}
